package day17.animal;

public class cat extends animal {

    public String weight;

    public cat() {}

    public cat(String name, int age, String color, String weight) {
        super(name, age, color);
        this.weight = weight;
    }

    @Override
    public void eat() {
        System.out.println("小猫吃吃吃");
    }

    @Override
    public void sleep() {
        System.out.println("小猫睡睡睡");
    }

    @Override
    public void run() {
        System.out.println("小猫追老鼠");
    }

}
